﻿@if(Request.IsAuthenticated) {
    <text>Welcome <strong>@User.Identity.Name</strong>!
    @Html.ActionLink("Logout", "LogOff", "Account")</text>
}
else {
    @Html.ActionLink("Sign in", "LogOn", "Account")
}
